package com.yidu.BusinessParameters.entity;

public class MarketEntity {
//    marketId VARCHAR(20) PRIMARY KEY NOT NULL,   -- 行情id
//    fundId VARCHAR(20) NOT NULL, -- 外键         -- 基金编号
//    securityId VARCHAR(20) NOT NULL, -- 外键     -- 证券编号
//    inputDate VARCHAR(20) NOT NULL,              -- 录入日期
//    openMoney DOUBLE NOT NULL,                   -- 开盘价格
//    endMoney DOUBLE NOT NULL,                    -- 收盘价格
//    marketBeiZhu VARCHAR(100)                    -- 备注
    private String marketId;
    private String fundId;
    private String securityId;
    private String inputDate;
    private double openMoney;
    private double endMoney;
    private String marketBeiZhu;
    private String securityName;

    public MarketEntity(){

    }

    public MarketEntity(String marketId, String fundId, String securityId, String inputDate, double openMoney, double endMoney, String marketBeiZhu) {
        this.marketId = marketId;
        this.fundId = fundId;
        this.securityId = securityId;
        this.inputDate = inputDate;
        this.openMoney = openMoney;
        this.endMoney = endMoney;
        this.marketBeiZhu = marketBeiZhu;
        this.securityName = securityName;
    }

    public String getMarketId() {
        return marketId;
    }

    public void setMarketId(String marketId) {
        this.marketId = marketId;
    }

    public String getFundId() {
        return fundId;
    }

    public void setFundId(String fundId) {
        this.fundId = fundId;
    }

    public String getSecurityId() {
        return securityId;
    }

    public void setSecurityId(String securityId) {
        this.securityId = securityId;
    }

    public String getInputDate() {
        return inputDate;
    }

    public void setInputDate(String inputDate) {
        this.inputDate = inputDate;
    }

    public double getOpenMoney() {
        return openMoney;
    }

    public void setOpenMoney(double openMoney) {
        this.openMoney = openMoney;
    }

    public double getEndMoney() {
        return endMoney;
    }

    public void setEndMoney(double endMoney) {
        this.endMoney = endMoney;
    }

    public String getMarketBeiZhu() {
        return marketBeiZhu;
    }

    public void setMarketBeiZhu(String marketBeiZhu) {
        this.marketBeiZhu = marketBeiZhu;
    }

    public String getSecurityName() {
        return securityName;
    }

    public void setSecurityName(String securityName) {
        this.securityName = securityName;
    }

    @Override
    public String toString() {
        return "MarketEntity{" +
                "marketId='" + marketId + '\'' +
                ", fundId='" + fundId + '\'' +
                ", securityId='" + securityId + '\'' +
                ", inputDate='" + inputDate + '\'' +
                ", openMoney=" + openMoney +
                ", endMoney=" + endMoney +
                ", marketBeiZhu='" + marketBeiZhu + '\'' +
                ", securityName='" + securityName + '\'' +
                '}';
    }
}
